package work;

public class work4 {
    public int sum(int a,int b){
        return a+b;
    }
    public int sum(int a,int b,int c){
        return a+b+c;
    }
    public double sum(double a,double b){
        return a+b;
    }
    public String sum(String a,String b){
        return a+b;
    }

    public static void main(String[] args) {
        work4 num=new work4();
        num.sum(10,23);
        num.sum(10,20,30);
        num.sum(2.14,3.14);
        num.sum("5","10");
        System.out.println(num.sum(5,10));
    }
}
